const carousel = () => import('../example/element/element-carousel'),
    // chart = () => import('../example/echarts'),
    page = () => import('../example/element/element-pagination'),
    dialog = () => import('../example/element/element-dialog'),
    theme = () => import('../example/theme'),
    table = () => import('../example/element/element-table'),
    breadcrumb = () => import('../example/breadcrumb'),
    upload = () => import('../example/element/element-upload'),
    look = () => import('../example/look'),
    // selectTree = () => import('../example/select-tree'),
    exampleRouter = [
        {
            path: 'theme',
            name: 'theme',
            component: theme,
            meta: {
                title: '设计规范'
            }
        },
        {
            path: 'carousel',
            name: 'carousel',
            component: carousel,
            meta: {
                title: 'element 轮播'
            }
        },
        // {
        //     path: 'chart',
        //     name: 'chart',
        //     component: chart,
        //     meta: {
        //         title: 'E-charts 图表'
        //     }
        // },
        {
            path: 'page',
            name: 'page',
            component: page,
            meta: {
                title: 'element 分页'
            }
        },
        {
            path: 'dialog',
            name: 'dialog',
            component: dialog,
            meta: {
                title: 'element 弹窗'
            }
        },
        {
            path: 'table',
            name: 'table',
            component: table,
            meta: {
                title: 'element 表格'
            }
        },
        {
            path: 'breadcrumb',
            name: 'breadcrumb',
            component: breadcrumb,
            meta: {
                title: '面包屑'
            }
        },
        {
            path: 'upload',
            name: 'upload',
            component: upload,
            meta: {
                title: '文件上传'
            }
        },
        {
            path: 'look',
            name: 'look',
            component: look,
            meta: {
                title: '查看弹框'
            }
        }
        // {
        //     path: 'selectTree',
        //     name: 'selectTree',
        //     component: selectTree,
        //     meta: {
        //         title: '树形下拉框'
        //     }
        // }
    ]

export default exampleRouter
